package com.itcam.tingshu.order.client.impl;


import com.itcam.tingshu.common.result.Result;
import com.itcam.tingshu.model.order.OrderInfo;
import com.itcam.tingshu.order.client.OrderInfoFeignClient;
import org.springframework.stereotype.Component;

@Component
public class OrderInfoDegradeFeignClient implements OrderInfoFeignClient {

    /**
     * 根据订单号查询订单信息
     * @param orderNo
     * @return
     */
    @Override
    public Result<OrderInfo> getOrderInfo(String orderNo) {
        System.out.println("根据订单号查询订单信息【熔断】...");
        return null;
    }
}
